package be.vsko.zelfevaluatie.jackson.mapping;

import be.vsko.zelfevaluatie.framework.Statement;
import be.vsko.zelfevaluatie.rest.RoaServlet;

public class SimpleStatement {
	private Long key;
	private String description;
	private String href;
	
	public SimpleStatement(Statement statement, RoaServlet servlet) {
		this.key = statement.getKey();
		this.description = statement.getDescription();
		this.href = servlet.getHref("/statements/"+statement.getKey());
	}

	public Long getKey() {
		return key;
	}

	public void setKey(Long key) {
		this.key = key;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}
}
